package cn.tedu.cwgl.service;

import cn.tedu.cwgl.entity.Insurance;
import cn.tedu.cwgl.util.PageModel;
import cn.tedu.cwgl.util.Result;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpSession;

@Service
public interface InsuService {

    Result<Insurance> getInsurance(PageModel insurance);


    int addInsurance(Insurance insurance, HttpSession session);

    int delInsurance(Insurance insurance, HttpSession session);

    int updateInsurance(Insurance insurance, HttpSession session);

}
